package com.itbaizhan.test.exercise;

public interface Volant2 {
    public static final int Fly_HIGHT = 100;
    public abstract  void  fly();
}
interface Honest {
    void helpOther();
}
//implements,子类
class GoodMan implements Honest {

    @Override
    public void helpOther() {
        System.out.println("扶老奶奶");
    }
}

class Bird implements Volant2{

    @Override
    public void fly() {

    }
}
class Angel implements Volant2,Honest{

    @Override
    public void fly() {
        System.out.println("Angel.fly");
    }

    @Override
    public void helpOther() {
        System.out.println("Angel.helpOther");
    }
}
class Plane2 implements Volant2{

    @Override
    public void fly() {
        System.out.println("飞机");
    }
}